package com.duk.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.duk.dao.DeptMapper;
import com.duk.dao.TreeMapper;
import com.duk.model.DaoHang;
import com.duk.model.Dept;
import com.duk.service.DeptService;
import com.duk.service.TreeService;
import com.duk.util.PageBean;

/** 
* @author  by: kasher
* @date 创建时间：2017年1月7日 下午9:47:57 
* @version 1.0 * @parameter  
* @since  
* @return  
*/
/**
 *
 * DeptService by:kasher 2017年1月7日 下午9:47:57 我乃压身第一人
 * 
 * @version 1.0.0
 *
 */
@Service
public class TreeServiceImpl implements TreeService
{
	@Resource
	private TreeMapper treeMapper;
	@Override
	public List<Map<String, Object>> listData(Integer pId) {
		
		return treeMapper.listData(pId);
	}
	@Override
	public List<DaoHang> getDeptData(Integer id) {
		// TODO Auto-generated method stub
		return treeMapper.getDeptData(id);
	}
	@Override
	public List<Map<String, Object>> fareData(Integer pId) {
		// TODO Auto-generated method stub
		return treeMapper.fareData(pId);
	}
	@Override
	public List<DaoHang> getFareData(Integer id) {
		// TODO Auto-generated method stub
		return treeMapper.getFareData(id);
	}

}